首页> 外文OA文献 >Combined-Semantics Equivalence Is Decidable for a Practical Class of Conjunctive Queries
【2h】

Combined-Semantics Equivalence Is Decidable for a Practical Class of Conjunctive Queries

机译:组合语义等价是一个实用类的判定   联合查询

摘要

In this paper, we focus on the problem of determining whether two conjunctive("CQ") queries posed on relational data are combined-semantics equivalent [9].We continue the tradition of [2,5,9] of studying this problem using the tool ofcontainment between queries. We introduce a syntactic necessary and sufficientcondition for equivalence of queries belonging to a large natural language of"explicit-wave" combined-semantics CQ queries; this language encompasses (butis not limited to) all set, bag, and bag-set queries, and appears to cover allcombined-semantics CQ queries that are expressible in SQL. Our result solves inthe positive the decidability problem of determining combined-semanticsequivalence for pairs of explicit-wave CQ queries. That is, for an arbitrarypair of combined-semantics CQ queries, it is decidable (i) to determine whethereach of the queries is explicit wave, and (ii) to determine, in case bothqueries are explicit wave, whether or not they are combined-semanticsequivalent, by using our syntactic criterion. (The problem of determiningequivalence for general combined-semantics CQ queries remains open. Even so,our syntactic sufficient containment condition could still be used to determinethat two general CQ queries are combined-semantics equivalent.) Our equivalencetest, as well as our general sufficient condition for containment ofcombined-semantics CQ queries, reduce correctly to the special cases reportedin [2,5] for set, bag, and bag-set semantics. Our containment and equivalenceconditions also properly generalize the results of [9], provided that thelatter are restricted to the language of (combined-semantics) CQ queries.
机译:在本文中,我们关注于确定关系数据上的两个联合(“ CQ”)查询是否为组合语义等效问题[9]。我们继续使用[2,5,9]的传统来研究此问题查询之间包含的工具。我们为属于“显波”组合语义CQ查询的一种大自然语言的查询的等效性引入了句法必要和充分条件;这种语言包含(但不限于)所有集合,袋和袋集合查询,并且似乎涵盖了SQL中可表达的所有组合语义CQ查询。我们的结果肯定地解决了确定成对的显波CQ查询的组合语义等效性的可判定性问题。也就是说,对于任意对组合语义CQ查询,可以确定(i)确定每个查询是否为显式wave,以及(ii)在两个查询均为显式wave的情况下确定是否将它们组合在一起-通过使用我们的句法标准来实现语义等效。 (确定一般组合语义CQ查询的对等问题仍然存在。尽管如此,我们的句法充分包含条件仍然可以用来确定两个常规CQ查询是组合语义对等的。)我们的等价测试以及我们的一般充分条件为了包含组合语义CQ查询,请正确减少为[2,5]中针对集合,袋和袋集合语义报告的特殊情况。我们的包含条件和对等条件也可以适当地概括[9]的结果,条件是后者仅限于(组合语义)CQ查询的语言。

著录项

  • 作者

    Chirkova, Rada;

  • 作者单位
  • 年度 2014
  • 总页数
  • 原文格式 PDF
  • 正文语种 {"code":"en","name":"English","id":9}
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号